(define-module (emacs gnomenm)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system emacs)
  #:use-module (gnu packages emacs-xyz)
  #:use-module (guix packages)
  #:use-module (guix git-download))

(define-public emacs-gnomenm
  (let ((commit "4e2d1f9d3c4d31c4651cc8289bb0c96a4a0198ad")
        (revision "1"))
    (package
     (name "emacs-gnomenm")
     (version
      (git-version "0.0.9" revision commit))
     (source
      (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://notabug.org/jlicht/emacs-nm.git")
             (commit commit)))
       (sha256
        (base32
         "0c73d09byyx3aav5cc6rr5mg7011yaqm9gzrpnclg7mshnjmic0b"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("emacs-dash" ,emacs-dash)
        ("emacs-kv" ,emacs-kv)
        ("emacs-s" ,emacs-s)))
     (home-page "https://notabug.org/jlicht/emacs-nm")
     (synopsis "Emacs interface to Gnome's Network Manager")
     (description
      "Emacs interface to Gnome's Network Manager")
     (license license:gpl3+))))
